package cn.foodProject.gsonBean;

public class FoodDetailsGsonBean {

    /**
     * data : {"id":1,"name":"红烧肉","label":"很好吃","description":"非常好吃","icon":"hongshaorou.jpg","price":29}
     * success : true
     * message : 查询成功
     */

    private FoodDetails data;
    private boolean success;
    private String message;

    public FoodDetails getData() {
        return data;
    }

    public void setData(FoodDetails data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class FoodDetails {
        /**
         * id : 1
         * name : 红烧肉
         * label : 很好吃
         * description : 非常好吃
         * icon : hongshaorou.jpg
         * price : 29
         */

        private int id;
        private String name;
        private String label;
        private String description;
        private String icon;
        private int price;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }
    }
}
